<html xml:th = "http://www.thymeleaf.org">

<body>

<form method="post" action="/shop/add" th:object="${shop}">
    <div>
        商铺名称：
        <span>
            <input type="text" th:field="*{name}" id="name">
        </span>
    </div>
    <div>
        商铺均价：
        <span>
            <input type="text" th:field="*{avgPrice}" id="avgPrice">
        </span>
    </div>
    <div>
        商铺地址：
        <span>
            <input type="text" th:field="*{address}" id="address">
        </span>
    </div>
    <div>
        商铺营业时间：
        <span>
            <input type="text" th:field="*{openHours}" id="openHours">
        </span>
    </div>
    <div>
        商铺电话：
        <span>
            <input type="text" th:field="*{phone}" id="phone">
        </span>
    </div>
    <input type="submit" value="新增商铺">
</form>

<br/>

</body>
</html>